Event.observe ( window, 'load', bootstrap );

function bootstrap () {
  /*
  ** TableKit.
  */
  
  TableKit.options.editAjaxURI = '/rest/user';
  
  table_kit_select_input_as_boolean ( $w( 'can_checkout_specification can_checkout_datasheet can_commit_specification can_commit_datasheet can_bofh fake' ) );
  
  TableKit.Editable.selectInput ( 'datasheet_source', {}, [ [ 'SVN', 'SVN' ], [ 'SVN/tags', 'SVN/tags' ], [ 'SVN/trunk', 'SVN/trunk' ] ] );
  
  /*
  ** Create.
  */
  
  /*
  enable ( 'crud_create' );
  
  $( 'crud_create' ).onclick = function () {
    var tr = new Element ( 'tr', { 'id' : 'create_ID' } );
    
    tr.appendChild ( new Element ( 'td', { 'class' : 'noedit' } ).update ( '##' ) ); ** FIXME dunno if TableKit honors this class cell-wise **
    
    insert ( $( 'table_users_crud_tbody' ), { 'bottom' : tr } );
  };
  */
}
